﻿body {
	font-size: 12px;
	font-family: 'Microsoft YaHei';
}

label {
	font-weight: initial;
}

.table > thead > tr > th {
	border-bottom: 1px solid #ddd;
}

.popover {
	max-width: inherit;
	font-size: 12px;
}

.has-error .form-control {
	border-color: #ccc;
}

	.has-error .form-control:focus {
		border-color: rgba(82, 168, 236, 0.8);
		outline: 0;
		outline: thin dotted \9;
		color: #000000;
	}
/*header 头部*/
.ms-header { /*background: #f8f8f8;*/
	font-size: 14px;
	margin-bottom: 30px;
	border-bottom: 1px solid #ddd;
}

	.ms-header .navbar-brand, .ms-header .navbar-nav > li > a {
		font-weight: 500;
		color: #563d7c;
	}

		.ms-header .navbar-nav > .active > a, .ms-header .navbar-nav > .active > a:hover, .ms-header .navbar-nav > li > a:hover {
			color: #463265;
			background-color: #f9f9f9;
		}

		.ms-header .navbar-nav > li > a.dropdown-toggle:hover {
			background: none;
		}

	.ms-header .navbar-toggle .icon-bar {
		background-color: #563d7c;
	}

	.ms-header .navbar-header .navbar-toggle {
		border-color: #fff;
	}

		.ms-header .navbar-header .navbar-toggle:focus, .ms-header .navbar-header .navbar-toggle:hover {
			background-color: #f9f9f9;
			border-color: #f9f9f9;
		}

	.ms-header .nav .open > a,
	.ms-header .nav .open > a:hover,
	.ms-header .nav .open > a:focus {
		background: none;
	}

	.ms-header .navbar-nav > li > .dropdown-menu {
		margin-top: 2px;
		border-top-left-radius: 4px;
		border-top-right-radius: 4px;
	}
/*footer 底部*/
.ms-footer {
	padding-top: 40px;
	margin-top: 20px;
	color: #767676;
	text-align: center;
	border-top: 1px solid #e5e5e5;
}

.ms-footer-links {
	padding-left: 0;
	margin-top: 20px;
}

	.ms-footer-links li {
		display: inline;
		padding: 0 2px;
	}

		.ms-footer-links li:first-child {
			padding-left: 0;
		}

@media (min-width:768px) {
	.ms-footer p {
		margin-bottom: 0;
	}
}
/*左主菜单*/
.ms-sidebar.affix {
	position: static;
}

@media (min-width:768px) {
	.ms-sidebar {
		padding-left: 20px;
	}
}

.ms-sidenav {
	margin-top: 20px;
	margin-bottom: 20px;
}

.ms-sidebar .nav > li > a {
	display: block;
	padding: 4px 20px;
	font-size: 13px;
	font-weight: 500;
	color: #767676;
}

	.ms-sidebar .nav > li > a:focus, .ms-sidebar .nav > li > a:hover {
		padding-left: 19px;
		color: #563d7c;
		text-decoration: none;
		background-color: transparent;
		border-left: 1px solid #563d7c;
	}

.ms-sidebar .nav > .active:focus > a, .ms-sidebar .nav > .active:hover > a, .ms-sidebar .nav > .active > a {
	padding-left: 18px;
	font-weight: 700;
	color: #563d7c;
	background-color: transparent;
	border-left: 2px solid #563d7c;
}

.ms-sidebar .nav .nav {
	padding-bottom: 10px;
}

	.ms-sidebar .nav .nav > li > a {
		padding-top: 1px;
		padding-bottom: 1px;
		padding-left: 30px;
		font-size: 12px;
		font-weight: 400;
	}

		.ms-sidebar .nav .nav > li > a:focus, .ms-sidebar .nav .nav > li > a:hover {
			padding-left: 29px;
		}

	.ms-sidebar .nav .nav > .active:focus > a, .ms-sidebar .nav .nav > .active:hover > a, .ms-sidebar .nav .nav > .active > a {
		padding-left: 28px;
		font-weight: 500;
	}
/*.showcase-form textarea .ng-dirty.ng-invalid,
.showcase-form select .ng-dirty.ng-invalid,
.showcase-form input.ng-dirty.ng-invalid {
    border-color: #e9322d;
    -webkit-box-shadow: 0 0 6px #f8b9b7;
    -moz-box-shadow: 0 0 6px #f8b9b7;
    box-shadow: 0 0 6px #f8b9b7;
}*/
.w5c-form input:focus:invalid:focus,
.w5c-form textarea:focus:invalid:focus,
.w5c-form select:focus:invalid:focus {
	border-color: rgba(82, 168, 236, 0.8);
	outline: 0;
	outline: thin dotted \9;
	color: #000000;
}

.w5c-form input.error:invalid,
.w5c-form textarea.error:invalid,
.w5c-form select.error:invalid {
	border-color: #b94a48;
	-webkit-box-shadow: 0 0 6px #f8b9b7;
	-moz-box-shadow: 0 0 6px #f8b9b7;
	box-shadow: 0 0 6px #f8b9b7;
}

.w5c-form .dropdown-menu {
	max-height: 400px;
	overflow-y: auto;
}

.w5c-form .alert {
	margin-bottom: 0px;
}

.w5c-form .w5c-error {
	color: #b94a48;
	display: block;
	margin-top: 5px;
}

.label-inline {
	margin: 0;
	margin-right: 5px;
	font-weight: 200;
	width: 90px;
	text-align: right;
	line-height: 24px;
}

.custom-inline .input-sm {
	width: 170px;
}

.custom-inline .row {
	padding-bottom: 5px;
}

.back-to-top {
	position: fixed;
	right: 0;
	bottom: 150px;
	width: 30px;
	padding: 7px;
	text-align: center;
	line-height: 1em;
	cursor: pointer;
}

	.back-to-top a {
		color: #333;
		display: block;
		text-decoration: none;
	}
/*区域联动*/
.city-select {
	position: relative;
	cursor: pointer;
	font-size: 12px;
}

	.city-select .city-select-drop {
		display: none;
		position: absolute;
		width: 100%;
		z-index: 3000;
	}

	.city-select.open .city-select-drop {
		display: block;
	}

.city-select-tab {
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-top: 1px solid #ccc;
	height: 32px;
	background: #f0f0f0;
	margin-top: -1px;
}

	.city-select-tab a {
		border-left: 1px solid #ccc;
		border-bottom: 1px solid transparent;
		color: #4D4D4D;
		text-align: center;
		padding: 6px 0;
	}

	.city-select-tab .active {
		background: #fff;
		border-bottom: 1px solid #fff;
		color: #f60;
	}

.city-select-panel {
	border: 1px solid #ccc;
	border-top: 0;
	padding: 10px 15px;
	background: #fff;
	overflow: hidden;
	margin-top: -1px;
}

	.city-select-panel a {
		display: inline-block;
		color: #4D4D4D;
		padding: 0 10px;
		outline: 0;
		text-decoration: none;
		white-space: nowrap;
		margin-right: 2px;
		line-height: 2;
	}

		.city-select-panel a:hover {
			background-color: #fff8f3;
			border-radius: 2px;
			color: #f60;
		}

		.city-select-panel a.active {
			background-color: #f60;
			color: #fff;
			border-radius: 2px;
		}

	.city-select-panel dl {
		clear: both;
		padding: 3px 0;
		margin: 0;
	}

	.city-select-panel dt {
		font-weight: 700;
		text-align: right;
	}

	.city-select-panel dd {
		margin-left: 0;
	}

.city-select .caret {
	position: absolute;
	top: 15px;
	right: 10px;
}
/*!
 * ui-select
 * http://github.com/angular-ui/ui-select
 * Version: 0.16.0 - 2016-03-23T20:51:56.678Z
 * License: MIT
 */ .ui-select-highlight {
	font-weight: 700;
}

.ui-select-offscreen {
	clip: rect(0 0 0 0) !important;
	width: 1px !important;
	height: 1px !important;
	border: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	position: absolute !important;
	outline: 0 !important;
	left: 0 !important;
	top: 0 !important;
}

.ui-select-choices-row:hover {
	background-color: #f5f5f5;
}

.ng-dirty.ng-invalid > a.select2-choice {
	border-color: #D44950;
}

.select2-result-single {
	padding-left: 0;
}

.select-locked > .ui-select-match-close, .select2-locked > .select2-search-choice-close {
	display: none;
}

body > .select2-container.open {
	z-index: 9999;
}

.ui-select-container[theme=select2].direction-up .ui-select-match {
	border-radius: 0 0 4px 4px;
}

.ui-select-container[theme=select2].direction-up .ui-select-dropdown {
	border-radius: 4px 4px 0 0;
	border-top-width: 1px;
	border-top-style: solid;
	box-shadow: 0 -4px 8px rgba(0,0,0,.25);
	margin-top: -4px;
}

	.ui-select-container[theme=select2].direction-up .ui-select-dropdown .select2-search {
		margin-top: 4px;
	}

.ui-select-container[theme=select2].direction-up.select2-dropdown-open .ui-select-match {
	border-bottom-color: #5897fb;
}

.selectize-input.selectize-focus {
	border-color: #007FBB !important;
}

.selectize-control > .selectize-dropdown, .selectize-control > .selectize-input > input {
	width: 100%;
}

.ng-dirty.ng-invalid > div.selectize-input {
	border-color: #D44950;
}

.ui-select-container[theme=selectize].direction-up .ui-select-dropdown {
	box-shadow: 0 -4px 8px rgba(0,0,0,.25);
	margin-top: -2px;
}

.btn-default-focus {
	color: #333;
	background-color: #EBEBEB;
	border-color: #ADADAD;
	text-decoration: none;
	outline: -webkit-focus-ring-color auto 5px;
	outline-offset: -2px;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
}

.ui-select-bootstrap .ui-select-toggle {
	position: relative;
}

	.ui-select-bootstrap .ui-select-toggle > .caret {
		position: absolute;
		height: 10px;
		top: 50%;
		right: 10px;
		margin-top: -2px;
	}

.input-group > .ui-select-bootstrap.dropdown {
	position: static;
}

.input-group > .ui-select-bootstrap > input.ui-select-search.form-control {
	border-radius: 4px 0 0 4px;
}

	.input-group > .ui-select-bootstrap > input.ui-select-search.form-control.direction-up {
		border-radius: 4px 0 0 4px !important;
	}

.ui-select-bootstrap > .ui-select-match > .btn {
	text-align: left !important;
}

.ui-select-bootstrap > .ui-select-match > .caret {
	position: absolute;
	top: 45%;
	right: 15px;
}

.ui-select-bootstrap > .ui-select-choices {
	width: 100%;
	height: auto;
	max-height: 200px;
	overflow-x: hidden;
	margin-top: -1px;
}

body > .ui-select-bootstrap.open {
	z-index: 1000;
}

.ui-select-multiple.ui-select-bootstrap {
	height: auto;
	padding: 3px 3px 0;
}

	.ui-select-multiple.ui-select-bootstrap input.ui-select-search {
		background-color: transparent !important;
		border: none;
		outline: 0;
		height: 1.666666em;
		margin-bottom: 3px;
	}

	.ui-select-multiple.ui-select-bootstrap .ui-select-match .close {
		font-size: 1.6em;
		line-height: .75;
	}

	.ui-select-multiple.ui-select-bootstrap .ui-select-match-item {
		outline: 0;
		margin: 0 3px 3px 0;
	}

.ui-select-multiple .ui-select-match-item {
	position: relative;
}

	.ui-select-multiple .ui-select-match-item.dropping-before:before {
		content: "";
		position: absolute;
		top: 0;
		right: 100%;
		height: 100%;
		margin-right: 2px;
		border-left: 1px solid #428bca;
	}

	.ui-select-multiple .ui-select-match-item.dropping-after:after {
		content: "";
		position: absolute;
		top: 0;
		left: 100%;
		height: 100%;
		margin-left: 2px;
		border-right: 1px solid #428bca;
	}

.ui-select-bootstrap .ui-select-choices-row > a {
	display: block;
	padding: 3px 20px;
	clear: both;
	font-weight: 400;
	line-height: 1.42857143;
	color: #333;
	white-space: nowrap;
}

	.ui-select-bootstrap .ui-select-choices-row > a:focus, .ui-select-bootstrap .ui-select-choices-row > a:hover {
		text-decoration: none;
		color: #262626;
		background-color: #f5f5f5;
	}

.ui-select-bootstrap .ui-select-choices-row.active > a {
	color: #fff;
	text-decoration: none;
	outline: 0;
	background-color: #428bca;
}

.ui-select-bootstrap .ui-select-choices-row.active.disabled > a, .ui-select-bootstrap .ui-select-choices-row.disabled > a {
	color: #777;
	cursor: not-allowed;
	background-color: #fff;
}

.ui-select-match.ng-hide-add, .ui-select-search.ng-hide-add {
	display: none !important;
}

.ui-select-bootstrap.ng-dirty.ng-invalid > button.btn.ui-select-match {
	border-color: #D44950;
}

.ui-select-container[theme=bootstrap].direction-up .ui-select-dropdown {
	box-shadow: 0 -4px 8px rgba(0,0,0,.25);
}

.order_detail .form-group {
	margin-bottom: 0px;
}

.no-margin {
	margin: 0;
}

.m {
	margin: 15px;
}

.m-xs {
	margin: 5px;
}

.m-sm {
	margin: 10px;
}

.m-md {
	margin: 20px;
}

.m-lg {
	margin: 30px;
}

.m-v-xs {
	margin-top: 5px;
	margin-bottom: 5px;
}

.m-v-sm {
	margin-top: 10px;
	margin-bottom: 10px;
}

.m-v {
	margin-top: 15px;
	margin-bottom: 15px;
}

.m-v-md {
	margin-top: 20px;
	margin-bottom: 20px;
}

.m-v-lg {
	margin-top: 30px;
	margin-bottom: 30px;
}

.m-h-xs {
	margin-right: 5px;
	margin-left: 5px;
}

.m-h-sm {
	margin-right: 10px;
	margin-left: 10px;
}

.m-h {
	margin-right: 15px;
	margin-left: 15px;
}

.m-h-md {
	margin-right: 20px;
	margin-left: 20px;
}

.m-h-lg {
	margin-right: 30px;
	margin-left: 30px;
}

.m-t {
	margin-top: 15px;
}

.m-t-xs {
	margin-top: 5px;
}

.m-t-sm {
	margin-top: 10px;
}

.m-t-md {
	margin-top: 20px;
}

.m-t-lg {
	margin-top: 30px;
}

.m-r {
	margin-right: 15px;
}

.m-r-xs {
	margin-right: 5px;
}

.m-r-sm {
	margin-right: 10px;
}

.m-r-md {
	margin-right: 20px;
}

.m-r-lg {
	margin-right: 30px;
}

.m-b {
	margin-bottom: 15px;
}

.m-b-xs {
	margin-bottom: 5px;
}

.m-b-sm {
	margin-bottom: 10px;
}

.m-b-md {
	margin-bottom: 20px;
}

.m-b-lg {
	margin-bottom: 30px;
}

.m-l {
	margin-left: 15px;
}

.m-l-xs {
	margin-left: 5px;
}

.m-l-sm {
	margin-left: 10px;
}

.m-l-md {
	margin-left: 20px;
}

.m-l-lg {
	margin-left: 30px;
}

.m-n {
	margin: -15px;
}

.m-h-n {
	margin-right: -15px;
	margin-left: -15px;
}

.m-v-n {
	margin-top: -15px;
	margin-bottom: -15px;
}

.m-l-n {
	margin-left: -15px;
}

.m-r-n {
	margin-right: -15px;
}

.m-t-n {
	margin-top: -15px;
}

.m-b-n {
	margin-bottom: -15px;
}

.b-l {
	border-left: 1px solid #e3e5e7;
}

.streamline {
	position: relative;
	border-color: #e3e5e7;
}

	.streamline .sl-item:after, .streamline:after {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 11px;
		height: 11px;
		margin-left: -6px;
		background-color: #fff;
		border-color: inherit;
		border-style: solid;
		border-width: 2px;
		border-radius: 50%;
		content: '';
	}

.sl-icon {
	position: absolute;
	left: -15px;
	z-index: 1;
}

	.sl-icon > i {
		display: table-cell;
		width: 30px;
		height: 30px;
		text-align: center;
		vertical-align: middle;
	}

.sl-item {
	position: relative;
	padding-bottom: 1px;
	border-color: #e3e5e7;
}

	.sl-item:after, .sl-item:before {
		display: table;
		content: " ";
	}

	.sl-item:after {
		clear: both;
	}

	.sl-item:after {
		top: 5px;
		bottom: auto;
	}

	.sl-item.b-l {
		margin-left: -1px;
	}

	.sl-item.sl-item-md .sl-content {
		margin-left: 20px;
	}

	.sl-item.sl-item-md:after {
		top: 0;
		width: 30px;
		height: 30px;
		margin-left: -16px;
	}

.sl-content {
	margin-left: 15px;
}

.img_bg_w_h {
	width: 96px;
	height: 96px;
}

.upload_bg {
	background: url(/content/images/upload_bg.png) #fff;
	width: 106px;
	height: 106px;
	line-height: 95px;
	text-align: center;
	cursor: pointer;
}

.choose_image_modal_w .modal-dialog {
	width: 800px;
}

.choose_image_item {
	border-color: #ff0000;
}

	.choose_image_item img {
		opacity: 0.7;
	}

.payment li {
	list-style: none;
	border: 1px solid #fff;
	padding: 5px;
	width: 135px;
}

	.payment li.active {
		border: 1px solid #563d7c;
	}

	.payment li img {
		width: 32px;
		height: 32px;
	}

.table > tbody + tbody {
	border-top: 0px;
}
